<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
   <head>
    	<title></title>   
		<s:include value="../common/source.jsp"></s:include>
		<script src="js/member.js"></script>
		
		
  </head>
  <body>
    <div class="body">
          <div class="content ui-sortable">
           <div class="list">
          	创新团队列表
          	</div>
          	</div>
            <br/>    
            <div class="load0">             
  	 <form action="templates/admin/addInnovations.jsp" method="post">
     <button class="sui-btn btn-primary">添加</button></a>
     </form>
     </div>
       <br/>
       <hr style="background-color:#cfe1f9;height:1px;"/>          
 <table class="sui-table table-primary table-sideheader">
          <thead>
            <tr>
              <th  style="width:5%;text-align:center">序号</th>
              <th style="width:30%">名称</th>
              <th style="width:12%">带头人姓名</th>
              <th style="width:25%">类别</th>        
              <th style="width:10%">级别</th>
              <th style="width:9%">资助期限</th>
              <th style="width:7%">操作</th>
              
            </tr>
          </thead>
          <tbody>
          <s:iterator value="innovationss"> 
            <tr>
              <td style="text-align:center"></td>
            <td><s:property value="name"/></td>
            <td><s:property value="superPerson"/></td>
            <td>
            <s:if test="classify==0">国家自然基金委创新群体</s:if>
            <s:if test="classify==1">教育部创新团队</s:if>
            <s:if test="classify==2">省重点创新团队</s:if>
            <s:if test="classify==3">国家基金委创新群体</s:if>
            <s:if test="classify==4">2011协同创新中心等省部级以上创新团队</s:if>
            <s:if test="classify==5">省高校创新团队</s:if>
            <s:if test="classify==6">校级创新团队</s:if>
            <s:if test="classify==7">校级协同创新中心</s:if>
            </td>
            <td>
            <s:if test="approvedDepartment==0">国家级</s:if>
            <s:if test="approvedDepartment==1">省部级</s:if>
            <s:if test="approvedDepartment==2">厅级局</s:if>
            <s:if test="approvedDepartment==3">校级</s:if>
            </td>
            <td><s:property value="approvedDate"/></td>
            <td>
          <!--  <a href="admin/DelInnovationsAction.action?innovations.innId=<s:property value="innId"/>">删除</a>--> 
           <form action="admin/DelInnovationsAction.action?innovations.innId=<s:property value="innId"/>" onsubmit="return firm()" method="post">
           <button type="submit" class="sui-btn "  style="background-color:#FF0000;color:#fff">删除</button>
           </form>
           </td>
             </tr>
           </s:iterator>
          </tbody>
        </table>
         </div>
  </body>
</html>